<template>
  <div class="user-content">
    <div class="title">
      <slot name="header"></slot>
    </div>
    <div class="content-wrap">
      <slot name="content"> </slot>
    </div>
  </div>
</template>
<script>
export default {
  name: 'user-content',
}
</script>
<style scoped lang="scss">
.user-content {
  width: 100%;
  min-height: 500px;
  border: 1px solid #ddd;
  box-sizing: border-box;
  .title {
    color: #333;
    font-size: 20px;
    height: 50px;
    line-height: 50px;
    background-color: var(--colorHover1);
    span {
      color: #de422e;
      margin-left: 30px;
      margin-right: 10px;
      font-size: 24px;
    }
  }
  .content-wrap {
    padding: 10px;
  }
}
</style>